package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.ChannelDto;
import com.heima.model.wemedia.pojos.WmChannel;

import java.util.Map;


public interface WmchannelService extends IService<WmChannel> {
    ResponseResult getChannels();

    //获取频道列表
    ResponseResult getchannelList(Map<String, String> map);

    //新增频道
    ResponseResult saveChannel(Map<String, Object> map);

    //修改频道
    ResponseResult updateChannel(ChannelDto dto);

    //删除频道
    ResponseResult delChannel(int id);


}
